#!/bin/bash

# 安装 wasm-pack (如果还没有安装)
# cargo install wasm-pack

# 构建 WebAssembly
wasm-pack build --target web --out-dir ../src/pkg

echo "Rust WebAssembly 构建完成！" 